package com.multi.thread.chapter03.demo18;

public class ThreadA extends Thread {
	
	@Override
	public void run() {
		try {
			for (int i = 0; i < 10; i++) {
				Tools.tl.set("ThreadA" + (i + 1));
				System.out.println("ThreadA get value = " + Tools.tl.get());
				Thread.sleep(200);
			}
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}

}
